package com.longjianghuasheng.logistics.business.login

import android.os.Bundle
import com.longjianghuasheng.logistics.BR
import com.longjianghuasheng.logistics.R
import com.longjianghuasheng.logistics.base.BaseFragment
import com.longjianghuasheng.logistics.databinding.FragmentForgetThePasswordBinding
import com.longjianghuasheng.logistics.ext.observer
import com.longjianghuasheng.logistics.util.StatusBarUtil

class ForgetThePasswordFragment :
    BaseFragment<ForgetThePasswordViewModel, FragmentForgetThePasswordBinding>() {

    override fun initViewModelId(): Int = BR.forgetThePasswordViewModel
    override fun layoutId(): Int = R.layout.fragment_forget_the_password
    override fun initView(savedInstanceState: Bundle?) {

    }

    override fun createObserver() {
        super.createObserver()
        mViewModel.result.observer(this) {
            navigateUp()
        }
    }

    override fun onResume() {
        super.onResume()
        StatusBarUtil.setLightMode(requireActivity())
    }
}